/*
 * 版权所有 (c) 2022-2099 TBIT。保留所有权利。
 */

package com.tbit.main.pojo.bo;

import lombok.Data;

import java.util.List;

/**
 * @author <a href="mailto:li.yao@tbit.com.cn">yao</a>
 * @version 4.1.0
 * @since 2024/7/11 15:56
 */
@Data
public class AccountUserAlarmItemBO {

    private Integer accountId;

    private Long accountUserAlarmId;

    private List<Integer> alarmItem;

    private List<Integer> alarmTypes;

    public static AccountUserAlarmItemBO createAlarmItemBO(Integer accountId, Long accountUserAlarmId, List<Integer> alarmItem) {
        AccountUserAlarmItemBO accountUserAlarmItemBO = new AccountUserAlarmItemBO();
        accountUserAlarmItemBO.setAccountId(accountId);
        accountUserAlarmItemBO.setAccountUserAlarmId(accountUserAlarmId);
        accountUserAlarmItemBO.setAlarmItem(alarmItem);
        return accountUserAlarmItemBO;
    }

    public static AccountUserAlarmItemBO createAlarmTypeBO(Integer accountId , List<Integer> alarmType) {
        AccountUserAlarmItemBO accountUserAlarmItemBO = new AccountUserAlarmItemBO();
        accountUserAlarmItemBO.setAccountId(accountId);
        accountUserAlarmItemBO.setAlarmTypes(alarmType);
        return accountUserAlarmItemBO;
    }

}
